package main

import "fmt"

func main() {
	/* for i := 0; i < 4; i++ {
		for j := 0; j < 10; j++ {
			if j == 2 {
				continue // continue	默认会跳出最近的for循环
			}
			fmt.Println("j=", j)
		}
	} */

	/* for i := 0; i < 2; i++ {
		for j := 1; j < 4; j++ {
			if j == 2 {
				continue
			}
			fmt.Println("i=", i, "j=", j)
		}
	} */

here:
	for i := 0; i < 2; i++ {
		for j := 1; j < 4; j++ {
			if j == 2 {
				continue here
			}
			fmt.Println("i=", i, "j=", j)
		}
	}
}
